<%@ page language="java" 
import="java.util.*,com.gzl.test.struts.testOGNLaction.Test5"
contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 <%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

 	<%
  		request.setAttribute("d",new Date(23432432L));
  	 %>
  	 <s:date name="#request.d" format="yyyy-MM-dd" /> <!-- 增加nice，format属性不起作用 -->
  	 <hr/>
  	 <s:date name="#request.d" format="yyyy-MM-dd"  var="c"/> <!-- 使用var，时间不会打印出，而是保存在c变量中！ -->
  	 <hr/>
	this is 1.jsp result 
	<br>

</body>
</html>